Mergado\Service\External\Google\GoogleAnalytics\GA4\Ga4ServiceIntegration D

Total Complexity 163
Dependencies 26
Dependents 3
Total lines 897
Lines of code 649
Logical lines of code 345
Comment lines 49
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
purchase()
A
38 10 67
productDetailView()
A
41 10 55
getCartProductAppliedCoupons()
A
52 11 22
getOrderProductAppliedCoupons()
A
55 11 18
viewItemList()
A
48 10 31
refundPartial()
A
45 9 41
orderStatusChanged()
A
52 8 22
getCartEventItemsObject()
S
47 5 35
addShippingInfo()
S
56 6 19
getOrderCouponData()
S
49 5 33
getShippingMethods()
S
56 6 18
addToCart()
S
46 4 39
removeFromCart()
S
54 5 20
refundFull()
S
54 5 20
addPaymentInfo()
S
58 5 16
beginCheckout()
S
59 5 15
search()
S
58 5 14
viewCart()
S
59 5 14
addToCartAjax()
S
54 4 21
getCartValue()
S
60 4 14
getFormattedAnalyticsCode()
S
61 4 12
insertHeaderAdmin()
S
63 4 10
addCartData()
S
62 4 10
pushRefundEvent()
S
59 3 14
getPaymentMethods()
S
61 3 12
actionShippingRate()
S
63 3 10
getPurchaseProductPrices()
S
59 2 13
getCartProductPrices()
S
59 2 13
getDiscount()
S
77 2 3
getCartGlobalCoupon()
S
79 1 3
getCartDataObject()
S
65 1 10
__construct()
S
73 1 5